package com.live.stamp.web.stamp.model;

import lombok.Data;
import org.springframework.boot.container.core.common.BaseModel;
import org.springframework.boot.container.core.common.ServerField;
import org.springframework.boot.container.core.common.ServerModel;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author cwd E-mail: wendong.cao@jsxfedu.com
 * @version 1
 * @date 2018/3/22 9:27
 */
@Data
@ServerModel("t_inji_info")
public class TStampInfo extends BaseModel {

    @ServerField("tUserId")
    private String tUserId;
    @ServerField("title")
    private String title;
    @ServerField("content")
    private String content;
    @ServerField("longitude")           //经度
    private BigDecimal longitude;
    @ServerField("latitude")            //纬度
    private BigDecimal latitude;
    @ServerField("location")
    private String location;            //地址
    @ServerField("label")               //标签
    private String label;
    @ServerField("lookCount")
    private Integer lookCount;          //查看次数
    @ServerField("likeCount")
    private Integer likeCount;          //点赞数
    @ServerField("commentCount")
    private Integer commentCount;       //评论数
    @ServerField("createTime")
    private Date createTime;            //创建时间
    @ServerField("state")
    private String state;               //状态：1 有效，0 删除
    @ServerField("roleType")
    private String roleType;            //查看权限类型：ALL 完全开放、PART 部分好友 、SELF 自己、FRID 好友


}
